package com.sh.装饰器模式.one.impl;

import com.sh.装饰器模式.one.ServerHttpResponse;

public class ServerHttpResponseDecorator implements ServerHttpResponse {


    protected ServerHttpResponse response;

    public ServerHttpResponseDecorator(ServerHttpResponse response) {
        this.response = response;
    }

    @Override
    public void write(String data) {
        response.write(data);
    }
}
